package com.jia.train.seat.service;

import com.jia.train.global.page.PageResponse;
import com.jia.train.seat.entity.TripStation;
import com.jia.train.seat.request.TripStationQueryRequest;
import com.jia.train.seat.request.TripStationSaveRequest;
import com.jia.train.seat.response.TripStationQueryResponse;
import com.jia.train.seat.response.TripStationSaveResponse;

import java.util.List;

public interface TripStationService {
    
    TripStationSaveResponse insert(TripStationSaveRequest request);

    PageResponse<TripStationQueryResponse> selectList(TripStationQueryRequest request);

    void deleteTripStation(Long id);

    List<TripStation> selectByTripCode(String tripCode);

}
